//本js依赖于zDialog.js

function showMessage(ti,msg, func, w, h){
	
	 var w = w || 300,
     h = h || 80;
	 
	var diag = new Dialog();
	diag.Width = w;
	diag.Height = h;
	diag.Title = ti;
	diag.InnerHtml='<div style="text-align:center;color:#11B;font-size:16px;width:'+(w-20)+';margin-top:30px">'+ msg +'</div>'
	diag.OKEvent = function(){
		if(func) func();
		diag.close();
		};//点击确定后调用的方法
	diag.show();
}
